package providertype

import (
	"github.com/labstack/echo"
)

type OxyProviderType interface {
	GetListHandler(c echo.Context) error
	GetInfoHandler(c echo.Context) error
	UpdateHandler(c echo.Context) error
	AddHandler(c echo.Context) error
	DelHandler(c echo.Context) error
}

func New(e string) OxyProviderType {
	switch e {
	case "v1":
		data := NewOXYProviderType()
		return data
	}
	return nil
}
